import { createRouter, createWebHistory } from "vue-router";
import TestOneView from "../components/TestOneView.vue";
import TestTwoView from "../components/TestTwoView.vue";
import TestThreeView from "../components/TestThreeView.vue";
import TestFourView from "../components/TestFourView.vue";
import TestFiveView from "../components/TestFiveView.vue";
import TestSixView from "../components/TestSixView.vue";


const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes: [
      {
        path: '/',
        redirect: '/one'
      },
      {
        path: '/one',
        name: '坐标辅助器与轨道控制器',
        component: TestOneView
      },
      {
        path: '/two',
        name: '物体位移与父子元素',
        component: TestTwoView
      },
      {
        path: '/three',
        name: 'gui控制器',
        component: TestThreeView
      },
      {
        path: '/four',
        name: '几何体顶点',
        component: TestFourView
      },
      {
        path: '/five',
        name: '几何划分顶点不同材质',
        component: TestFiveView
      },
      {
        path: '/six',
        name: 'three常见几何体',
        component: TestSixView
      },
   
    ]
  })
  
  export default router
